-
Home
-
Booking Weir
-
1.0.2
-
Code
-
Classes
- PriceCalculator
Total Complexity |
23 |
Dependencies |
4 |
Dependents |
2 |
Total lines |
357 |
Lines of code |
118 |
Logical lines of code |
61 |
Comment lines |
184 |
Methods |
12 |
Properties |
19 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
parse_coupons() |
S |
58 |
4 |
15 |
add_coupon_info() |
S |
57 |
3 |
18 |
__construct() |
S |
53 |
2 |
22 |
calculate_step_price() |
S |
58 |
2 |
16 |
add_info() |
S |
65 |
3 |
10 |
calculate_duration_price() |
S |
65 |
2 |
9 |
set_coupon_used() |
S |
73 |
2 |
5 |
get_price() |
S |
68 |
1 |
7 |
calculate_total_price() |
S |
69 |
1 |
7 |
set_coupon_not_invalid() |
S |
78 |
1 |
3 |
get_info() |
S |
82 |
1 |
3 |
get_service() |
S |
82 |
1 |
3 |